<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			function car(hege,price,book) {
			  var newcar=new Object();
			  newcar.hege=hege;
			  newcar.price=price;
			  newcar.book=book;
			  newcar.fangfa= function() {
			    console.log(this.hege+this.price+this.book);
			  }
			  return newcar;
			}
 			 
			var blog1 = new car('合格','两千万','说明书');
			blog1.fangfa()
		</script>
	</body>
</html>
